<template>
  <coin-tr :coin_type="coin_type" :shares="shares === 0 ? '0.00' : shares"  :coin_data="coin_data" :shares_unit="shares_unit" :href="preHelpHref+'/articles/360018814232'">
    <echarts ref="echarts" class="index-echarts" :option="echartsOptions" />
  </coin-tr>
</template>

<script>
import { mapGetters } from 'vuex';
import indexTable from './base/trMixin';

export default {
  mixins: [indexTable],
  data() {
    return {
      coin_type: 'bch',
    };
  },
  computed: {
    ...mapGetters(['language']),
    preHelpHref() {
      return `https://support.dpool.top/hc/${this.language === 'zh' ? 'zh-cn' : 'en-us'}`;
    },
  },
};
</script>
